package com.example.poemtest.mine;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;

import com.example.poemtest.R;
import com.example.poemtest.utils.FullScreenUtil;

/**
 * 注销之前的页面
 */
public class BeforeLayOff extends AppCompatActivity {

    private Button btnOff;
    private ImageView back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        FullScreenUtil.getInstance().fullScreen(this,true);
        setContentView(R.layout.activity_before_lay_off);
        btnOff = findViewById(R.id.btn_off);
        back = findViewById(R.id.setup_to_mine);
        btnOff.setOnClickListener(view->{
            //点击后跳转到注销页面
            Intent intent = new Intent(this, LayOff.class);
            startActivity(intent);
        });
        btnOff.setOnClickListener(view->{
            //点击返回按钮，返回到账号与安全页面
            Intent intent = new Intent(this,SetupSafe.class);
            startActivity(intent);
        });
    }
}